const {
	getLatestDeals,
	getVipShare,
	getCouponShare,
	updateVipShare,
	updateCouponShare,
	updateRechargeShare,
	updateCollectionShare
} = require('./module/home/index')
const {
	listShopie,
	refund,
	detailShopie,
	todayShopie
} = require('./module/shopie/index')
const {
	listCollection,
	addCollection,
	collectionShare,
	endCollection,
	listCollectionOrder
} = require('./module/collection/index')
const {
	getSummarize,
	getBusiness,
	getRevenue,
	getOperating,
	getPayoutmethods,
	getCollectrefunds,
	getOrderSummarize,
	getOrderRevenue,
	getOrderBusiness,
	getCustomerSummarize,
	getCustomerTotal,
	getCalendarData,
	getStatistics
} = require('./module/statistics/index')
const {
	listEmployee,
	addEmployee
} = require('./module/employee/index')
const {
	updateReportDate,
	getQuickCollection,
	updateQuickCollection,
	shareQuickCollection,
	getRecharge,
	getAgreement
} = require('./module/setting/index')
const {
	listProfitsharing,
	addProfitsharing,
	getProfitsharing,
	delProfitsharing
} = require('./module/profitsharing/index')
const uniID = require('uni-id-common')
module.exports = {
	_before: function() {
		const clientInfo = this.getClientInfo()
		this.uniID = uniID.createInstance({
			clientInfo
		})
	},
	getLatestDeals,
	listShopie,
	listCollection,
	addCollection,
	collectionShare,
	listCollectionOrder,
	refund,
	getSummarize,
	getBusiness,
	getRevenue,
	getOperating,
	getPayoutmethods,
	getCollectrefunds,
	getOrderSummarize,
	getOrderRevenue,
	getOrderBusiness,
	getCustomerSummarize,
	getCustomerTotal,
	listEmployee,
	addEmployee,
	detailShopie,
	endCollection,
	getCalendarData,
	getStatistics,
	todayShopie,
	updateReportDate,
	getQuickCollection,
	updateQuickCollection,
	shareQuickCollection,
	getRecharge,
	getVipShare,
	getCouponShare,
	updateVipShare,
	updateCouponShare,
	updateRechargeShare,
	updateCollectionShare,
	listProfitsharing,
	addProfitsharing,
	getProfitsharing,
	delProfitsharing,
	getAgreement
}